/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.atomcorp.modelo;

import java.math.BigDecimal;

/**
 *
 * @author manu
 */
public class Factura {
    private int id;
    private int clienteId;
    private int empresaId;
    private String autoSri;
    private String nroFactura;
    private int iva;
    private BigDecimal total;

    public Factura() {
    }

    public Factura(int id, int clienteId, int empresaId, String autoSri, String nroFactura, int iva, BigDecimal total) {
        this.id = id;
        this.clienteId = clienteId;
        this.empresaId = empresaId;
        this.autoSri = autoSri;
        this.nroFactura = nroFactura;
        this.iva = iva;
        this.total = total;
    }

    /**
     * @return the id
     */
    public int getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * @return the clienteId
     */
    public int getClienteId() {
        return clienteId;
    }

    /**
     * @param clienteId the clienteId to set
     */
    public void setClienteId(int clienteId) {
        this.clienteId = clienteId;
    }

    /**
     * @return the empresaId
     */
    public int getEmpresaId() {
        return empresaId;
    }

    /**
     * @param empresaId the empresaId to set
     */
    public void setEmpresaId(int empresaId) {
        this.empresaId = empresaId;
    }

    /**
     * @return the autoSri
     */
    public String getAutoSri() {
        return autoSri;
    }

    /**
     * @param autoSri the autoSri to set
     */
    public void setAutoSri(String autoSri) {
        this.autoSri = autoSri;
    }

    /**
     * @return the nroFactura
     */
    public String getNroFactura() {
        return nroFactura;
    }

    /**
     * @param nroFactura the nroFactura to set
     */
    public void setNroFactura(String nroFactura) {
        this.nroFactura = nroFactura;
    }

    /**
     * @return the iva
     */
    public int getIva() {
        return iva;
    }

    /**
     * @param iva the iva to set
     */
    public void setIva(int iva) {
        this.iva = iva;
    }

    /**
     * @return the total
     */
    public BigDecimal getTotal() {
        return total;
    }

    /**
     * @param total the total to set
     */
    public void setTotal(BigDecimal total) {
        this.total = total;
    }

    
}
